<%@ page import="com.xhhospital.entity.Brxx" %>
<%@ page import="java.util.List" %><%--
  Created by IntelliJ IDEA.
  User: 76554
  Date: 2023/4/25
  Time: 14:24
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="utf-8">
    <title></title>
    <style>
        h4{
            width: 100%;
            background-color: #EBEBEB;
            font-family: 微软雅黑;
        }
        .td1{
            text-align: center;
            background-color: #C3DAF2;
        }
        .td2{
            background-color: #E4EFF7;

        }
        .td3{
            background-color: #C7EDCC;
            width: 300px;
        }
    </style>
    <script>
        function lxdh(){
            var txt1=document.getElementById("txt").value;
            if(txt1=="" || isNaN(txt1) ||txt1.length!=11 ||txt1.charAt(0)!=1){
                alert("手机号码格式错误");
            }else{
                time();
            }
        }
    </script>
</head>
<body>
<h4><img src="res/img/1.gif">&nbsp;病人信息修改</h4>
<%
    List<Brxx> list=(List<Brxx>) request.getAttribute("editbrxx");
        for (int i=0;i<list.size();i++){
            Brxx brxx=new Brxx();
            brxx=list.get(i);


%>
<form action="editbrxx" method="post">
    <table border="0"style="width: 96%;height: 0px;">
        <tr>
            <td class="td1">姓名</td>
            <td class="td2"><input type="text" name="brxm" class="td3" value="<%=brxx.getBrxm()%>" /></td>
            <td class="td1">性别</td>
            <td class="td2"><input type="radio"  class="brxb" name="brxb" value="男" checked="checked"/>男
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio"  class="brxb" value="女" name="brxb"/>女</td>
        </tr>
        <tr>
            <td class="td1">所属科室</td>
            <td class="td2"><select name="ssks"style="background-color: #FFFFFF;">
                <option value="内科">内科</option>
                <option value="外科">外科</option>
                <option selected="selected" value="儿科">儿科</option>
                <option value="妇产科">妇产科</option>
                <option value="骨科">骨科</option>
                <option value="眼科">眼科</option>
                <option value="口腔科">口腔科</option>
                <option value="五官科">五官科</option>
                <option value="肿瘤科">肿瘤科</option>
                <option value="皮肤病科">皮肤病科</option>
                <option value="中医科">中医科</option>
            </select></td>
            <td class="td1">主治医生</td>
            <td class="td2"><input type="text" name="ysxm" class="td3"  value="<%=brxx.getYsxm()%>"/></td>
        </tr>
        <tr>
            <td class="td1">就诊卡号</td>
            <td class="td2"><input type="hidden" name="jzkh" class="td3"  value="<%=brxx.getJzkh()%>"/></td>
        </tr>
        <tr>
            <td class="td1">联系电话</td>
            <td class="td2"><input type="text" name="lxfs" class="td3" onclick="lxdh()"  value="<%=brxx.getLxfs()%>"/></td>
        </tr>
        <table width="95%" border="0" align="center">
            <tr>
                <td align="center">
                    <input type="submit"  value=" 修改 ">
                    &nbsp;&nbsp; &nbsp; &nbsp;
                    <input name="submit" type="button"  value=" 返回 ">
                </td>
                <td>&nbsp;&nbsp;&nbsp;</td>
                <td>&nbsp;&nbsp;&nbsp;</td>
            </tr>
        </table>
    </table>
</form>
<%
    }
%>
</body>
</html>

